package modifiers;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
import java.util.Random;

import controller.IController;
import eventManager.AppEvent;
import eventManager.EventPortal;

import stars.StarModel;

import model.IModel;

public class SolarFlareModifier implements IModifier {

	private String name;
	private StarModel model;
	private ArrayList<String> events = new ArrayList<String>();
	private ArrayList<String> modifications = new ArrayList<String>();
	
	public SolarFlareModifier(StarModel model) {
		this.model = model;
		
		events.add("solarFlareEnable");
		events.add("solarFlareDisable");
		
		modifications.add("Features_SolarFlare");//view feature added
	}

	public ArrayList<String> getEventTypes() {
		return events;
	}

	public void execute(AppEvent event) {
		String eventName = event.getEventName();
		if (eventName.equalsIgnoreCase("solarFlareEnable")) {
			//model.  Apply modifier to model (see AbstractModel--must work on)
		}
		else if (eventName.equalsIgnoreCase("solarFlareDisable")) {
			
		}
		
	}

	public void enable() {
		// TODO Auto-generated method stub
		
	}

	public void disable() {
		// TODO Auto-generated method stub
		
	}

	public void reset() {
		// TODO Auto-generated method stub
		
	}

	public ArrayList<String> getModifications() {
		return this.modifications;
	}

	public String getName() {
		// TODO Auto-generated method stub
		return null;
	}
	
	

}
